public marks

PUBLIC MARKS from "Xavier Lacot" with tags mysql & random

28 February 2007 18:15

~jk ORDER BY RAND()

by 1 other
If you read the MySQL manual you might have seen the ORDER BY RAND() to randomize the the rows and using the LIMIT 1 to just take one of the rows.